package com.wqr.it.ecwdr.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.wqr.it.ecwdr.vo.FavSallerProductSummaryVO;
import com.wqr.it.ecwdr.vo.ProductStockVO;

/**
 * @author adinos
 *
 */
@Mapper
public interface IStockBIDao {
	
	public int generateFavSallerProductSummary(long token);
	
	public int getFavSallerProductSummaryCount(long token);
	
	public List<FavSallerProductSummaryVO> getFavSallerProductSummary(long token);
	
	public int generateFavSallerProductStockList(long token);
	
	public int getFavSallerProductStockListCount(long token);
	
	public List<ProductStockVO> getFavSallerProductStockList(long token);
	
	public int updateProductStockDeviation(ProductStockVO productStockVO, long token);

	public List<ProductStockVO> getShortStockListForUpdate(long token);

	public List<ProductStockVO> getProductStockList(long token, int startIndex, int pageSize);

	public List<ProductStockVO> getProductStockListStr(long token, int startIndex, int pageSize);

	public int getProductStockListCount(long token);

	public List<ProductStockVO> getProductStockDetail(long token, int startIndex, int pageSize);

	public List<ProductStockVO> getProductStockDetailStr(long token, int startIndex, int pageSize);

	public int getProductStockDetailCount(long token);
}
